Automated Software Test Data Generation for Data Flow Dependencies using Genetic Algorithm

نویسندگان

  • Sapna Varshney
  • Monica Mehrotra
چکیده

Software testing is one of the most labor-intensive and expensive phase of the software development life cycle. Software testing includes test case generation and test suite optimization that has a strong impact on the effectiveness and efficiency of software testing. Over the past few decades, there has been active research to automate the process of test case generation but the attempts have been constrained by the size and the complexity of software. The use of metaheuristic global search techniques for software test data generation has been the focus of researchers in recent years. Many new techniques and hybrid methods have also been proposed to tackle the problem more effectively. This study proposes a novel approach based on genetic algorithm to generate test data for a program. The performance of the proposed approach is evaluated based on data flow dependencies of a program by comparing it with random testing. Based on the experimental results on a number of C programs, it is shown that the proposed approach outperforms random testing in test data generation and optimization. Keywords—Search Based Software Testing, Automated Test Data Generation, Metaheuristic Search Algorithms, Evolutionary Algorithms, Genetic Algorithms, Data Flow Dependencies

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Optimizing Cost Function in Imperialist Competitive Algorithm for Path Coverage Problem in Software Testing

Search-based optimization methods have been used for software engineering activities such as software testing. In the field of software testing, search-based test data generation refers to application of meta-heuristic optimization methods to generate test data that cover the code space of a program. Automatic test data generation that can cover all the paths of software is known as a major cha...

متن کامل

An Adaptive PSO Algorithm Based Test Data Generator for Data- Flow Dependencies using Dominance Concepts

One of the most important and effort intensive activity of the entire software development process is software testing. The effort involved chiefly increases because of the need to obtain optimal test data out of the entire search space of the problem under testing. Software test data generation is one area that has seen tremendous research in terms of automation and optimization. Generating or...

متن کامل

Interface Testing Using a Subgraph Splitting Algorithm: A Case Study

One of several obstacles in automated test generation is the presence of dependencies among test data where not all combinations of test parameter values are feasible. In previous attempts, a subgraph splitting algorithm has been suggested where a graph model is created for test generation in order to reflect dependencies among test data. This paper extends these results and considers a new imp...

متن کامل

An Efficient Slicing Approach for Test Case Generation

Automated test data generation is a challenging task in software engineering research. Despite all the advancement, software testing continues to be the most time and resource consuming aspect of software development. One aspect of Automated Testing is generation of test data for each predicate involved in the Unified Modeling Language (UML) diagram of the modeled software. The test data genera...

متن کامل

Automatic Test Data Generation for Data Flow Testing Using a Genetic Algorithm

One of the major difficulties in software testing is the automatic generation of test data that satisfy a given adequacy criterion. This paper presents an automatic test data generation technique that uses a genetic algorithm (GA), which is guided by the data flow dependencies in the program, to search for test data to cover its def-use associations. The GA conducts its search by constructing n...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014